import request from "@/utils/request";

// 查询枪信息列表
export function listGun(query) {
  return request({
    url: "/business/connector/list",
    method: "get",
    params: query,
  });
}

// 修改枪信息编号
export function editGun(data) {
  return request({
    url: "/business/connector/edit",
    method: "put",
    data: data,
  });
}
